package com.ruoyi.web.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.apache.poi.hpsf.Decimal;

import java.math.BigDecimal;
import java.util.Date;


//贴数分配机台
@Data
public class MesProducePieceMachine {
    private String id;
    //贴数id
    private String pieceId;
    //机台id
    private String machineId;
    //步骤
    private int step;
    //机台类型
    private String machineType;
    //累计报工量
    private BigDecimal total;
    //创建时间
    private Date createTime;
    //预计交货时间
    private Date expectTime;


    @TableField(exist = false)
    private String machineName;
    @TableField(exist = false)
    private String workshopName;

    @TableField(exist = false)
    public Long type;

    @TableField(exist = false)
    private String pieceIds;

    /** 报工单用纸量*/
    @TableField(exist = false)
    private BigDecimal sumPaperLing;

    /** 机台纸库存*/
    @TableField(exist = false)
    private BigDecimal sumMachineTotal;

    /** 纸张id*/
    @TableField(exist = false)
    private Long paperId;

    /** 纸张编号*/
    @TableField(exist = false)
    private String paperNo;

    /** 纸张名称*/
    @TableField(exist = false)
    private String paperName;

    /** 报工单编号*/
    @TableField(exist = false)
    private String reportCode;
}
